<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<div>
    <script type="text/javascript" src="/catalog/view/javascript/libs/web-detector.js"></script>
    <script>
        var ios_url = '{{ ios_url }}';
        var android_url = '{{ android_url }}';
        // document.writeln('设备:'+ detector.device.name);
        // document.writeln('OS:'+detector.os.name);
        // document.writeln('browser:'+detector.browser.name);
        if (detector.os.name === 'ios') {
            location.href = ios_url;
        } else {
            location.href = android_url;
        }
    </script>
</div>
</body>
</html>